-- GENERATED SPELL FOR [Syphoner] --


function spell0_16492(pUnit, Event) --@Drain Mana,Drain--
pUnit:FullCastSpellOnTarget(29881,pUnit:GetRandomPlayer(4))
pUnit:RegisterEvent('Sorts_16492', 5000, 1)
end

function Sorts_16492(pUnit, Event)
local choix_sorts_16492 = math.random(0, 0)
if choix_sorts_16492 == 0 then
pUnit:RegisterEvent('spell0_16492', 1, 1)
end
end

function mob16492_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16492', math.random(1500, 3000), 1)
end

function mob16492_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16492_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16492_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16492, 1, 'mob16492_Action')
RegisterUnitEvent(16492, 2, 'mob16492_Leave')
RegisterUnitEvent(16492, 3, 'mob16492_Kill')
RegisterUnitEvent(16492, 4, 'mob16492_Die')
